const express = require('express');
const router = express.Router();

const loginRoutes = require('./routes/loginRoutes');

const userRoutes = require('./routes/userRoutes');

const bookRoutes = require('./routes/bookRoutes');

const orderRoutes = require('./routes/orderRoutes');

router.use('/logins', loginRoutes);
router.use('/users', userRoutes);
router.use('/books', bookRoutes);
router.use('/orders', orderRoutes);

module.exports = router;